package com.xinwei.generator.config;

import lombok.Data;

@Data
public class ParamsConfig {
	
	//生成代码里，注释的作者
    private String author = "lxf";

    //代码生成输出的目录，可为项目路径的相对路径
    private String outputDirectory = "temp";

    //jdbc驱动
    private String jdbcDriver = "com.mysql.jdbc.Driver";

    //数据库连接地址 192.168.1.36
    private String jdbcUrl = "jdbc:mysql://127.0.0.1:3306/questionnaire?allowMultiQueries=true&useUnicode=true&useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true&nullCatalogMeansCurrent=true";
    //数据库账号
    private String jdbcUserName = "root";

    //数据库密码 gc42PTOrsQrknUt7 123456
    private String jdbcPassword = "root";

    //去掉表的前缀,如表的名称为ask_user
    private String[] removeTablePrefix = {"system_","saas_","pe_","pr_"};

    //代码生成包含的表，可为空，为空默认生成所有、如果指定则将表名写入 {"user","role","dept"}
    private String[] includeTables = {"questionnaire","questionnaire_bank"};

    //代码生成的类的父包名称
    private String parentPackage = "com.xinwei.xingfu";

  
    // 是否在实体中生成字段注释
    private boolean fieldAnnotationEnable = true;
    
    // 是否采用lombok模式
    private boolean setEntityLombokModel = true;
}
